Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add cluster local postgres deployment #50

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

arajkumar
Copy link
Member

This is to workaround the RDS access issue from Ephemeral cluster.

The proposed solution uses very primitive deployment of postgres which may not be concrete replacement for the existing model. This is just a stop-gap solution and right solution would be using one of popular postgres operator with Backup/Restore configured.

Comment on lines -80 to -85
oc_process_apply "${templates_dir}/jobs.yaml"
sleep 20
oc_process_apply "${templates_dir}/worker.yaml" "-p WORKER_ADMINISTRATION_REGION=ingestion -p WORKER_EXCLUDE_QUEUES=GraphImporterTask"
sleep 20
oc_process_apply "${templates_dir}/worker.yaml" "-p WORKER_ADMINISTRATION_REGION=ingestion -p WORKER_INCLUDE_QUEUES=GraphImporterTask -p WORKER_NAME_SUFFIX=-graph-import"
sleep 20
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only bare minimum services to support online flow has been enabled.

@@ -57,7 +57,7 @@ for key in "$@"; do
done
[ "$purge_aws_resources" == false ] && echo "Use --purge-aws-resources if you want to also clear previously allocated AWS resources (RDS database, SQS queues, S3 buckets, DynamoDB tables)."

openshift_login
# openshift_login
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

export KUBECONFIG=..``or oc login ... is a must.

openshift/secrets-template.yaml Show resolved Hide resolved
@prashbnair
Copy link

Looks good, do you plan to create a separate set of files for the online flow?

@arajkumar arajkumar marked this pull request as ready for review July 23, 2020 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants